<template>  
    <view>  
        <view class="cpt-mask" @click="hideClick" :style="{background:background}">  
        </view>  
    </view>  
</template>  

<script>  
    export default {
		props: {
			background:{
				type:String,
				default:''
			}
		},
       methods:{
		   hideClick(){
		   	this.$emit('hideClick');
		   },
	   }
    }  
</script>  

<style>  
    .cpt-mask {  
        position: fixed;  
        top: 970rpx;  
        left: 0;  
        width: 100%;  
        height: 100%;  
        background-color: rgba(0,0,0,0.5);  
        /* opacity: 0.9;  */
        z-index: 3;  
    }  
</style>